﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ex_uppgift
{
        [Serializable]
    public class Contact : Person
    {

        public string Street { get; set; }
        public int ZipCode { get; set; }
        public string City { get; set; }
        public string CompanyName { get; set; }

        public string EmailAddress { get; set; }
        public string Hobbies { get; set; }
        public long PhoneNumber { get; set; }
        public string ImageURL { get; set; }

        public override string ToString()
        {
            return "Name: " + Name + " Id: " + PersonId;
        }

    }
}